<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Language extends CI_Model {

    private $CI;
    
    function __construct() {
        parent::__construct();
    }
    
	public function get_all() {
		$result = array();
		$count = 0;
		
		foreach (
			array(
				'el'=>'Greek',
				'en'=>'English'
			) as $id=>$name) {
		 
			$result[$count]->id = $id;
			$result[$count++]->name = $name;
		}
		return $result;
	}
    
}